import http from "@/utils/request"

export function deleteuser(id) {
    return http({
      url: `/authority/user/delete/${id}`,
      method: 'delete'
    });
  }


export function EidtRequest(data,id) {
    return http({
      url: `/authority/user/update?id=${id}`,
      method: 'put',
      data:data
    });
  }

  export function multipledelete(data) {
    return http({
     url: `/authority/user/deletion/batch?idList=${data}`,
     method: 'delete',
     data:data
    });
  }